package cn.s1995.sloth.bizs.oo.dto;

import cn.s1995.sloth.common.core.convert.JoinUrlPrefixConvert;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * ShopCartExpiryItemDTO
 *
 * @author Lex
 * @description
 * @date 2023/12/25 17:15
 */
@Data
@Schema(description = "购物车过期产品")
public class ShopCartExpiryItemDTO implements Serializable {
    @Schema(description = "店铺ID")
    private Long shopId;

    @Schema(description = "店铺名称")
    private String shopName;

    @Schema(description = "店铺头像")
    @JsonSerialize(using = JoinUrlPrefixConvert.class)
    private String shopAvatar;

    @Schema(description = "商品项")
    private List<ShopCartItemDTO> shopCartItemDtoList;
}
